# Created by: Olivier Duchateau
# $FreeBSD$

PORTNAME=	eradio
PORTVERSION=	1.2
CATEGORIES=	audio
MASTER_SITES=	https://launchpadlibrarian.net/179410192/ \
	https://launchpad.net/${PORTNAME}/luna/${PORTVERSION}/+download/
DISTNAME=	eRadio_${PORTVERSION}

MAINTAINER=	olivierd@FreeBSD.org
COMMENT=	Minimalist player for radio streaming

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libgranite.so:${PORTSDIR}/x11-toolkits/granite \
	libsoup-2.4.so:${PORTSDIR}/devel/libsoup \
	libnotify.so:${PORTSDIR}/devel/libnotify \
	libjson-glib-1.0.so:${PORTSDIR}/devel/json-glib

USES=	cmake pkgconfig
USE_GNOME=	gtk30 libxml2
USE_SQLITE=	yes
USE_GSTREAMER1=	bad faad good libav mad ogg soup ugly vorbis x264 yes
INSTALLS_ICONS=	yes

GLIB_SCHEMAS=	org.dreamdev.eradio.gschema.xml

.include <bsd.port.mk>
